<?php


namespace app\text\controller;


class Address
{
    public function index(){
        return 'Address index';
    }
    public function details($id){
        return 'datail调用的id:'.$id;
    }
    public function search($id,$uid){
        return 'search调用的id:'.$id.',uid：'.$uid;
    }
    public function find($id,$content =''){
        return 'find调用的id:'.$id.',content:'.$content;
    }
    public function url(){
        //return url('text/Address/details',['id'=>1]);
        return url('det',['id'=>10]);
    }
}